{% extends 'home/base.html' %}


{% block conleft %}
<div class="am-u-md-8 am-u-sm-12">

      <h2>相关<span style="color:red">博文</span>搜索结果:&nbsp;&nbsp;&nbsp;&nbsp;<span>{{ request.args.get('keywords')}}</span></h2>
      {% for v in blogs %}
        <article class="am-g blog-entry-article">
            <div class="am-u-lg-6 am-u-md-12 am-u-sm-12 blog-entry-text">
                <span><a href="{{ url_for('home.userblogs',uid=v.uid) }}" class="blog-color">@{{ v.user.username }} &nbsp;</a></span>
                <span>{{ v.addtime }}</span>
                <h3><a href="">{{ v.title }}</a></h3>
            </div>
        </article>
      {% endfor %}

     
      <h2>相关<span style="color:red">用户</span>搜索结果:&nbsp;&nbsp;&nbsp;&nbsp;<span>{{ request.args.get('keywords')}}</span></h2>
      <ul class="am-nav am-nav-pills am-topbar-nav">
         {% for v in users %}
            <li class="am-active"><a href="lw-index.html">{{ v.username }}</a></li>
          {% endfor %}
      </ul>
</div>

{% endblock %}
